Library Functions

Not all functions are Explain-language functions contained within the script itself. Explain™ also includes library functions written by Gamry Instruments in compiled C. To gain access to a compiled library function, we use the callin keyword followed by a string identifying the compiled function by name. For example:

function Printl callin "Printl"

The function Printl is used just like an interpreted function, such as SwapPrint, shown in the Functions and Control Flow section.